﻿#pragma once

#include "../Utils/HCNMath.h"
#include "../Utils/Utils.h"

#include "CEntityList.h"
#include "TextHolder.h"

class C_ChestBlockActor {
public:
	uintptr_t** vTable{};  // 0x0000
private:
	[[maybe_unused]] uint8_t pad_0x0008[0x8]{};  // 0x0008
public:
	uintptr_t* block{};  // 0x0010
private:
	[[maybe_unused]] uint8_t pad_0x0018[0x14]{};  // 0x0018
public:
	vec3_ti posI{};  // 0x002C
	AABB aabb{};

	bool isPaired() const;
	vec3_ti& getPairedPos() const;
	bool isMainSubchest() const;
	AABB getFullAABB();
	// bool isBarrelBlock();
	// bool isShulkerBlock();
	AABB getObstructionAABB();
};
